//
//  FaceViewController.h
//  IVFaceDemo
//
//  Created by golang on 2021/12/8.
//
#ifndef FaceViewController_h
#define FaceViewController_h
#import <UIKit/UIKit.h>
#import "EsOnVerifyCallback.h"
#import "FaceMessageTableView.h"

NS_ASSUME_NONNULL_BEGIN

@protocol FaceViewControllerDelegate <NSObject>

- (void)onFaceCollect:(UIImage *)image;

@end

@interface FaceViewController : UIViewController

@property(nonatomic, weak)id<FaceViewControllerDelegate>delegate;
//结果回调函数
@property(nonatomic, weak)id<EsOnVerifyCallback> callback;

@property(nonatomic, copy)NSString* dbName;

@property(nonatomic)int threshold;

@property(nonatomic)FaceMessageTableView* faceMessageTableView;

//人脸弹窗显示保存的时间
@property(nonatomic) NSInteger faceCellKeepTime;
//最大保存人脸弹窗的个数
@property(nonatomic) NSInteger saveFaceCellNumber;
-(void)close;

@end

NS_ASSUME_NONNULL_END
#endif
